export enum EntityLogEnum {
  '新增',
  '修改',
  '删除'
}
export interface IEntityChangeParams {
  sorting?: string
  auditLogId?: string
  startTime?: string | Date
  endTime?: string | Date
  changeType: 0 | 1 | 2 | ''
  entityId?: string
  entityTypeFullName?: string
}
export interface IPropertyChange {
  id: string
  entityChangeId: string
  newValue: string
  originalValue: string
  propertyName: string
  propertyTypeFullName: string
}
export interface IEntityChangeLog {
  id: string
  auditLogId: string
  changeTime: string
  changeType: 0 | 1 | 2
  entityId: string
  entityTypeFullName: string
  propertyChanges: IPropertyChange[]
}

export interface IEntityChangeDetail {
  entityChange: IEntityChangeLog
  userName: string
}
